﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Adp.Pleiade.Fwk.Batch;
using Adp.Pleiade.Fwk.Common;
using System.Data.SqlClient;
using Adp.Pleiade.Fwk.Entity;

namespace Pleiade.Mtr // à compléter
{
    /// <summary>
    /// BS métier de base.
    /// </summary>
    public class StandartBatchSession : BatchSession<BusinessPackage>
    {        
        #region Implémentations obligatoires

        protected override void DoExecute(BusinessPackage aPackage)
        {
            // vérification du contenu
            if (RecordList.VarIsEmpty(aPackage))
                return;

            // traitement du package fourni ...
        }

        #endregion        
    }
}
